render vs redirect laravel exception

65

render vs redirect laravel exception -

report() is used if you want to do some additional logging – send error to BugSnag, email, Slack etc.
render() is used if you want to redirect back with error or return HTTP response (like your own Blade file) directly from Exception class

Comments

Submit
0 Comments